import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';


class ThreePage extends StatefulWidget {
  @override
  _SecPageState createState() => _SecPageState();
}

class _SecPageState extends State<ThreePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("ThreePage页面"),
      ),
      backgroundColor: Colors.white,
      ///填充布局
      body: Container(
          width: double.infinity,
          height: double.infinity,
          child: Column(
            children: [
              ElevatedButton(
                  onPressed: () {
                    Navigator.of(context).pop();
                  },
                  child: Text("退出")),
            ],
          )),
    );
  }
}
